﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Data
{
    public class ViewMetadata
    {
        public Guid Id { get; set; }
        public string Caption { get; set; }

        public EntityMetadata Entity { get; set; }
        public Guid EntityId { get; set; }

        public List<FieldMetadata> Fields { get; set; }

        public bool CanVisit { get; set; }
        public bool CanModify { get; set; }
        public bool CanRemove { get; set; }

        public ViewMetadata()
        {
        }
    }
}
